ConstructSim Work Package Server Setup Guide

Encrypting the WPS Encryption Key in Web.Config

By default, the WPS Encryption Key in Web.Config displays in plain text. To encrypt the WPS Encryption Key, perform the following steps.
  1. Navigate to C:\inetpub\wwwroot\wps\bin, right click the WPS.PlugIn.Core.dll file and select Copy.
  2. Navigate to C:\Windows\Microsoft.NET\Framework\v4.0.30319. The version number of the folder may vary depending on your installation. If you have navigated to the correct folder, the aspnet_regiis.exe file will also be in the folder.
  3. Right click inside the v4.0.30319 folder, and select Paste. The WPS.Plugin.Core.dll file appears in the v4.0.30319 folder.
  4. Open a command prompt window.
  5. In the v4.0.30319 folder, click the aspnet_regiis.exe file and drag it to the command prompt window. The filepath appears in the command prompt window.
  6. After the filepath, type a space followed by -pe “wps” -app “/yoursitename” where yoursitename is the name of the WPS website you have configured. Press Enter.
    The WPS Encryption key in Web.Config is encrypted.
  7. Repeat these steps on each machine where the website is deployed. The encryption key should be set to the same value on each machine.